package stz.flash.option.app;

import stz.flash.option.PersistentData;
import util.DjObservable;

/**
 * DoubleClickKeyChoiceHelperManager가 Overserver로 연결되어있음
 */

public class DoubleClickStartKeyOption extends DjObservable{
	
	private static final DoubleClickStartKeyOption instance = new DoubleClickStartKeyOption();
	private PersistentData data = PersistentData.getPersistentDatabase();
	
	private DoubleClickStartKeyOption() {
	}

	public static DoubleClickStartKeyOption getIns(){
		return instance;
	}
	
	public void setDoublClickStartKey(int appStartKey) {
		data.setDoublClickStartKey(appStartKey);
		notifyObservers();
	}
	public int getDoubleClickStartKey() {
		return data.getDoubleClickStartKey();
	}
	
}